Jahns Welt
Astronomie
Autor
Fotografie
Hardware
Internet
Live
Praxis
Reisen
Service
Software
- Inhalt
- Batches
- 2xCalcDB
- AddCSV
- BumWa
- Exist Copy
- Exist Delete
- HADL.DLL
- Line-Text
- Monat
- PalmPlan
- Root Test
- RPC Stub
- Statfree
- Such Edit
- Swap Name
- Task Copy
- Wortliste
- Eigene
- DOS
- Excel
- NetCaptor
- Palm
- Portfolio
- Links
- Probleme
Uelzen
|
Sie befinden sich hier: Software > Batches > Monat
:: ------------------------------------------------------------------
:: Batchfile : Monat
:: Purpose : A routine to set the month as a string
:: NewDate.bat (http://www.fpschultze.de/uploads/newdate.bat.txt)
:: must be run befor this batch.
:: OS : Windows 95+
:: Created : Jost Jahn , 20060221
:: ------------------------------------------------------------------
@echo off
if %MM% == "" goto ErrorBatch
goto Parse
:ErrorBatch -------------------------------------------------------
echo You must run NewDate.bat before this batch!
set MONAT=Undefined
goto End
:Parse ------------------------------------------------------------
if %MM% == 01 goto January
if %MM% == 02 goto February
if %MM% == 03 goto March
if %MM% == 04 goto April
if %MM% == 05 goto May
if %MM% == 06 goto June
if %MM% == 07 goto July
if %MM% == 08 goto August
if %MM% == 09 goto September
if %MM% == 10 goto October
if %MM% == 11 goto November
if %MM% == 12 goto December
set MONAT=Undetermined
goto End
:January ----------------------------------------------------------
set MONAT=Januar
goto End
:February ---------------------------------------------------------
set MONAT=Februar
goto End
:March ------------------------------------------------------------
set MONAT=März
goto End
:April ------------------------------------------------------------
set MONAT=April
goto End
:May --------------------------------------------------------------
set MONAT=Mai
goto End
:June -------------------------------------------------------------
set MONAT=Juni
goto End
:July -------------------------------------------------------------
set MONAT=Juli
goto End
:August -----------------------------------------------------------
set MONAT=August
goto End
:September --------------------------------------------------------
set MONAT=September
goto End
:October ----------------------------------------------------------
set MONAT=Oktober
goto End
:November ---------------------------------------------------------
set MONAT=November
goto End
:December ---------------------------------------------------------
set MONAT=Dezember
goto End
:End --------------------------------------------------------------
echo Demo: %DD%. %MONAT% %YYYY%
|